
NetAddr::NetAddr(const char* hostname,uint8 port,uint8 type){
	addr.sin_family = type;
	addr.sin_port = htons(port);
	addr.sin_addr.s_addr = inet_addr(hostname);
}
void  NetAddr::set_addr(void* addr,uint8 size){

}
void* NetAddr::get_addr(void){
	return &addr;
}
